package com.woniuxy01;

interface MyInterface2{
    int a=1;
    public static final int b=1;
    void test01();
    public abstract void test02();
}

interface MyInterface3{
    void test03();
}

class Aaa implements MyInterface2{

    @Override
    public void test01() {
        System.out.println("Aaa实现MyInterface2--test01");
    }

    @Override
    public void test02() {
        System.out.println("Aaa实现MyInterface2--test02");
    }
}

class Bbb implements MyInterface2,MyInterface3{

    @Override
    public void test01() {

    }

    @Override
    public void test02() {

    }

    @Override
    public void test03() {

    }
}

class Ccc{
    public void xxx(){}
}

class Ddd extends Ccc implements MyInterface2,MyInterface3{
    @Override
    public void test01() {

    }

    @Override
    public void test02() {

    }

    @Override
    public void test03() {

    }
}

interface MyInterface4 extends MyInterface2,MyInterface3{

}

interface MyInterface5{
    void test04();
     void test05();
     void test06();
     void test07();
     void test08();
}

class Eee implements MyInterface5{

    @Override
    public void test04() {

    }

    @Override
    public void test05() {

    }

    @Override
    public void test06() {

    }

    @Override
    public void test07() {

    }

    @Override
    public void test08() {

    }
}

interface MyInterface6{
    void test04();
    static void test05(){}
    default void test06(){}
    default void test07(){}
    default void test08(){}
}

class Fff implements MyInterface6{

    @Override
    public void test04() {

    }

}


public class Test02 {
    public static void main(String[] args) {
        System.out.println(MyInterface2.a);
//        MyInterface2.a=5;
        MyInterface2 myInterface2 = new Aaa();
        myInterface2.test01();
        myInterface2.test02();
    }
}
